from abc import ABC, abstractmethod
from ...pojo.dto.UserSessionDTO import UserSessionDTO


class UserSessionService(ABC):
    @abstractmethod
    async def createSession(self, userSessionDTO: UserSessionDTO): ...

    @abstractmethod
    async def getSessionByUserId(self, userId: int): ...
    @abstractmethod
    async def updateSessionNameBySessionId(self, sessionId: int, name: str): ...

    @abstractmethod
    async def deleteSessionBySessionId(self, sessionId: int): ...
